<div class="content-head">
    <h3>Tableau des statistiques de vente des produits</h3>
</div>
<div class="content-body">
    <form method="POST" name="saleStatsForm" action="<?php echo $this->url('cubemarketing/default', array('controller'=>'salestats', 'action'=>'viewing')) ?>">
    <div class="periodBox">
        Période du <input type="text" id="startDate" name="startDate" /> 
        <span>(jj/mm/aaaa)</span>
        au <input type="text" id="endDate" name="endDate" /> 
        <span>(jj/mm/aaaa)</span>
        <input type="hidden" id="altStartDate" name="altStartDate" />
        <input type="hidden" id="altEndDate" name="altEndDate" />
    </div>
    <div class="storeBox">
        <table align="center">
            <tr>
                <td align="right">
                    <select class="choosebox" name="selos" id="selos" size="15" multiple="multiple" style="width: 20em;">
                        <?php foreach ($stores as $store) : ?>
                        <option value="<?php echo $this->escapeHtml($store->id);?>"><?php echo $this->escapeHtml($store->name);?></option>
                        <?php endforeach; ?>
                    </select>
                </td>
                
                <td align="center" width="70">
                   <input type="button" value=">>" onclick="listbox_selectall('selos', true); listbox_moveacross('selos', 'boutiques');sortlist('selos');sortlist('boutiques');" class="storeBoxButton" /><br />
                   <input type="button" value=">" onclick="listbox_moveacross('selos', 'boutiques');sortlist('selos');sortlist('boutiques');" class="storeBoxButton" /><br /><br />
                   <input type="button" value="<" onclick="listbox_moveacross('boutiques', 'selos');sortlist('selos');sortlist('boutiques');" class="storeBoxButton" /><br />
                   <input type="button" value="<<" onclick="listbox_selectall('boutiques', true); listbox_moveacross('boutiques', 'selos');sortlist('selos');sortlist('boutiques');" class="storeBoxButton" />
                </td>
                
                <td align="left">
                    <select class="choosebox" name="boutiques" id="boutiques" size="15" multiple="multiple" style="width: 20em;"></select>
                </td>
            </tr>
            <tr>
                <td colspan="3" class="center padTop20"><input class="button" type="submit" name="valid" value="Valider" /></td>
            </tr>
        </table>        
    </div>
    </form>
</div>